package com.dayuanit.dy15.atm.controller;

import com.dayuanit.dy15.atm.entity.AtmWxUserInfo;
import com.dayuanit.dy15.atm.service.AtmWxUserInfoService;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

/**
 * (AtmWxUserInfo)表控制层
 *
 * @author makejava
 * @since 2020-05-23 11:48:33
 */
@RestController
@RequestMapping("atmWxUserInfo")
public class AtmWxUserInfoController {
    /**
     * 服务对象
     */
    @Resource
    private AtmWxUserInfoService atmWxUserInfoService;

    /**
     * 通过主键查询单条数据
     *
     * @param id 主键
     * @return 单条数据
     */
    @GetMapping("selectOne")
    public AtmWxUserInfo selectOne(Long id) {
        return this.atmWxUserInfoService.queryById(id);
    }

}